package com.woniuxy.enjoylife.service;

import com.woniuxy.enjoylife.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.enjoylife.entity.Goods_times;
import com.woniuxy.enjoylife.entity.dto.ReturnGoodsDto;
import com.woniuxy.enjoylife.entity.dto.SelectGoodsDto;
import com.woniuxy.enjoylife.utils.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-23
 */

public interface GoodsService extends IService<Goods> {

    PageResult<ReturnGoodsDto> selectGoodsDto(SelectGoodsDto dto);

    Boolean updateGoodsTimes(int gid,int uid);

    Boolean agreeGoods(int gid, int uid);

    Boolean deleteGoods(Goods goods);
}
